package net.ojbk.study.curriculumDesign.dao;

import java.util.List;

public interface SupperDao<T> {
    /**
     * select all.
     * @return
     */
    public List<T> selectAll();

    /**
     * insert into one row
     * @param obj
     */
    public void insertOne(T obj);

    /**
     * deleteOne By obj
     * @param obj
     */
    public void deleteOne(T obj);

    /**
     * updateOne by new obj
     * @param obj
     */
    public void updateOne(T obj);

}
